package com.neusoft.neu24.his.hisapp.controller;

import com.neusoft.neu24.his.hisapp.mycontroller.MyButton;
import javafx.fxml.FXML;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;

public class HomeController {

    @FXML
    HBox home_rooot;
    @FXML
    VBox home_left;

    @FXML
    AnchorPane home_right;

    @FXML
    public  void initialize() {
        System.out.println("HomeController.initialize");

        MyButton btn = new MyButton("挂号", "guahao.png", "guahao-view.fxml"  , home_right );
        home_left.getChildren().add(btn);

        btn = new MyButton("收费", "guahao.png", "shoufei-view.fxml"  , home_right );
        home_left.getChildren().add(btn);

    }
}
